<?php

//['middleware' => 'auth']
Route::group(['namespace' => 'Admin','prefix' => 'admin'],function(){
    Route::get('index','IndexController@index');
    /*Route::get('index','IndexController@a');
    Route::get('index','IndexController@b');*/


    //用户相关
    Route::resource('user','UserController');

    //栏目相关
    Route::resource('cat','CatController');

});
